package com.itruth.module.look;

import java.util.List;

import android.widget.ListView;

import com.itruth.base.BaseActivity;
import com.itruth.data.dao.ApperceptionDao;
import com.itruth.data.entity.Apperception;
import com.itruth.main.R;

/**
 * 查看感悟页面
 * @author yj
 *
 */
public class LookActivity extends BaseActivity {
	
	@Override
	protected void initData() {
		
	}
	
	@Override
	protected void initComposition() {
		setContentView(R.layout.look);
		
		ListView listView = (ListView)findViewById(R.id.listview);
		
		listView.setAdapter(new LookAdapter(this, getAppes()));
		
	}
	
	private List<Apperception> getAppes() {
		return ApperceptionDao.queryAppes();
	}
	
	
	
	
	
	
	
	
	
}
